package com.zrkizzy.seckill.constant;

/**
 * Redis全局静态常量
 *
 * @author zhangrongkang
 * @since 2023/4/12
 */
public class RedisConst {

    /**
     * 用户前缀
     */
    public static final String USER_PREFIX = "user:";

    /**
     * 订单前缀
     */
    public static final String ORDER_PREFIX = "order:";

    /**
     * 验证码前缀
     */
    public static final String KAPTCHA_PREFIX = "kaptcha:";

    /**
     * 秒杀商品前缀
     */
    public static final String SECKILL_GOODS_PREFIX = "seckillGoods:";

    /**
     * 库存是否为空
     */
    public static final String  IS_STOCK_EMPTY = "isStockEmpty:";

    /**
     * 秒杀路径
     */
    public static final String SECKILL_PATH = "seckillPath:";
}
